Skip to content

fix(limits): preserve hint-only account blocks#25

Merged
cbusillo merged 1 commit intolocal/cbusillo-overlayfrom
fix/limits-hint-only-switching
May 4, 2026
Merged

fix(limits): preserve hint-only account blocks#25
cbusillo merged 1 commit intolocal/cbusillo-overlayfrom
fix/limits-hint-only-switching

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

@cbusillo cbusillo commented May 4, 2026

Summary

  • restore account-switch blocking for persisted usage-limit hints that do not include reset timestamps
  • keep the new typed primary/secondary limit behavior from the multi-auth usage snapshot fix
  • add a regression test covering a second ChatGPT account blocked only by a usage-limit hint

Validation

  • cargo test -p code-core skips_chatgpt_accounts_blocked_by_hint_without_reset
  • cargo test -p code-core typed_usage_limit_snapshot_blocks_only_that_account
  • ./build-fast.sh
  • ./pre-release.sh

Auto-review was right: without this fallback, a hint-only limit persisted across restart could stop blocking an account in multi-auth fallback.

@cbusillo cbusillo merged commit 4da04a7 into local/cbusillo-overlay May 4, 2026
1 check passed
@cbusillo cbusillo deleted the fix/limits-hint-only-switching branch May 4, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant